package com.cgsrp.cgsrp_baby.service.impl;

import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import com.cgsrp.cgsrp_baby.dao.PhotopathVideoMapper;
import com.cgsrp.cgsrp_baby.domain.PhotopathVideo;
import com.cgsrp.cgsrp_baby.service.PhotopathVideoService;
@Service
public class PhotopathVideoServiceImpl implements PhotopathVideoService{

    @Resource
    private PhotopathVideoMapper photopathVideoMapper;

    @Override
    public int deleteByPrimaryKey(Integer id) {
        return photopathVideoMapper.deleteByPrimaryKey(id);
    }

    @Override
    public int insert(PhotopathVideo record) {
        return photopathVideoMapper.insert(record);
    }

    @Override
    public int insertSelective(PhotopathVideo record) {
        return photopathVideoMapper.insertSelective(record);
    }

    @Override
    public PhotopathVideo selectByPrimaryKey(Integer id) {
        return photopathVideoMapper.selectByPrimaryKey(id);
    }

    @Override
    public int updateByPrimaryKeySelective(PhotopathVideo record) {
        return photopathVideoMapper.updateByPrimaryKeySelective(record);
    }

    @Override
    public int updateByPrimaryKey(PhotopathVideo record) {
        return photopathVideoMapper.updateByPrimaryKey(record);
    }

}
